package com.chennan.factory.opt.impl;

import com.chennan.factory.opt.Operation;

/**
 * 减法类
 * @author chennan
 *
 */
public class SubOperation extends Operation{

	@Override
	public Number calculate() {
		
		return this.getNumberFirst().doubleValue()-this.getNumberSecond().doubleValue();
	}

}
